Fix save_hot_y init in gtk_drag_get_icon()
authorMaks Naumov <maksqwe1@ukr.net>
Sun, 11 Jan 2015 23:20:48 +0000 (15:20 -0800)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 17 Jan 2015 21:24:45 +0000 (16:24 -0500)
Signed-off-by: Maks Naumov <maksqwe1@ukr.net>
https://bugzilla.gnome.org/show_bug.cgi?id=742786

gtk/gtkdnd.c

index 3f16f9417fc6f24c84b9a974beddce414caa5c22..544fd804d2f107e6fbb9dbf578b180e945f6bbe0 100644 (file)
@@ -3014,7 +3014,7 @@ gtk_drag_get_icon (GtkDragSourceInfo  *info,
            */
           save_icon_window = info->icon_window;
           save_hot_x = info->hot_x;
-          save_hot_y = info->hot_x;
+          save_hot_y = info->hot_y;
           save_destroy_icon = info->destroy_icon;
 
           info->icon_window = NULL;